package com.wocao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wocao.entity.SysArea;
import org.apache.ibatis.annotations.Select;


/**
* @Entity com.wocao.entity.SysArea
*/
public interface SysAreaMapper extends BaseMapper<SysArea> {

    @Select("SELECT name FROM `sys_area` where code = #{code}")
    String selectAreaNameByCode(long code);
}
